Eli Zaretskii [Sat, 2 Jan 2010 15:57:35 +0000 (10:57 -0500)]
Continue working on handling of properties in bidi iteration.
Region display and extension seems to work.
Solved a crash in bidirectional display of etc/HELLO.
(HELLO display still not 100% OK, e.g. near Kannada.)
.gdbinit (pitx): Display some bidi information about the
iterator.
dispextern.h (BIDI_AT_BASE_LEVEL): Enclose definition in
parentheses.
xdisp.c (handle_stop_backwards): Save and restore it->current
and it->position, instead of expecting the caller to do that.
(next_element_from_buffer): When moving across stop_charpos,
record it in prev_stop. When IT_CHARPOS backs up, call
handle_stop_backwards only if above the base embedding level.
This solves the crash while displaying etc/HELLO in bidi mode.
Eli Zaretskii [Sat, 2 Jan 2010 10:57:50 +0000 (05:57 -0500)]
Merge from mainline.
Eli Zaretskii [Sat, 2 Jan 2010 10:42:11 +0000 (12:42 +0200)]
Rename cvs-update to bzr-update in lisp/ Makefiles.
Makefile.in (bzr-update): Renamed from cvs-update.
(cvs-update): New target for backward compatibility.
makefile.w32-in (bzr-update): Renamed from cvs-update.
(cvs-update): New target for backward compatibility.
Eli Zaretskii [Sat, 2 Jan 2010 10:22:05 +0000 (05:22 -0500)]
Merge from upstream.
Eli Zaretskii [Sat, 2 Jan 2010 09:40:28 +0000 (11:40 +0200)]
.bzrignore: Add more ignored patterns, including for the MS-DOS build.
Karl Fogel [Sat, 2 Jan 2010 08:09:17 +0000 (03:09 -0500)]
* lisp/bookmark.el: Remove gratuitous gratitude.
Karl Fogel [Sat, 2 Jan 2010 07:08:02 +0000 (02:08 -0500)]
* lisp/bookmark.el (bookmark-bmenu-any-marks): New function
(bookmark-bmenu-save): Clear buffer modification if no marks.
Karl Fogel [Sat, 2 Jan 2010 05:00:55 +0000 (00:00 -0500)]
* lisp/bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
(bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
To: emacs-devel {_AT_} gnu.org
Subject: bookmark.el bug report
Date: Mon, 28 Dec 2009 14:19:16 +0800
Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
Karl Fogel [Sat, 2 Jan 2010 04:36:17 +0000 (23:36 -0500)]
* lisp/bookmark.el: Improvements suggested by Drew Adams:
(bookmark-bmenu-ensure-position): New name for
`bookmark-bmenu-check-position'. Just ensure the position;
don't return any meaningful value.
(bookmark-bmenu-header-height, bookmark-bmenu-marks-width): New constants.
Juanma Barranquero [Sat, 2 Jan 2010 01:06:31 +0000 (02:06 +0100)]
lisp/ChangeLog: Fix typos.
Juanma Barranquero [Sat, 2 Jan 2010 01:05:44 +0000 (02:05 +0100)]
lisp/*: Fix typos in docstrings and messages.
Juanma Barranquero [Sat, 2 Jan 2010 01:03:48 +0000 (02:03 +0100)]
lisp/org/org.el: Fix typos in error messages.
Juanma Barranquero [Sat, 2 Jan 2010 01:03:11 +0000 (02:03 +0100)]
etc/NEWS: Fix typos.
Chong Yidong [Fri, 1 Jan 2010 22:10:50 +0000 (17:10 -0500)]
Fix buffer overflow in ns_get_color.
* nsterm.m (ns_get_color): Fix buffer overflow (Bug#4763).
Chong Yidong [Fri, 1 Jan 2010 20:42:22 +0000 (15:42 -0500)]
* lisp/gnus/message.el (message-exchange-point-and-mark): Call
exchange-point-and-mark with an argument rather than setting
mark-active by hand (Bug#5175).
Chong Yidong [Fri, 1 Jan 2010 20:03:37 +0000 (15:03 -0500)]
* lisp/files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
Eli Zaretskii [Fri, 1 Jan 2010 19:30:06 +0000 (14:30 -0500)]
Merge from mainline.
Chong Yidong [Fri, 1 Jan 2010 18:44:02 +0000 (13:44 -0500)]
* lisp/ChangeLog: Update bug number in last change.
Chong Yidong [Fri, 1 Jan 2010 18:43:25 +0000 (13:43 -0500)]
* comint.el (comint-input-ring-size): Make it a defcustom and
increase the default to 500.
Chong Yidong [Fri, 1 Jan 2010 18:14:22 +0000 (13:14 -0500)]
* src/lread.c (syms_of_lread): Make it clearer that these are the
names of loaded files (Bug#5068).
* doc/lispref/loading.texi (Where Defined): Make it clearer that these
are loaded files (Bug#5068).
Chong Yidong [Fri, 1 Jan 2010 17:14:05 +0000 (12:14 -0500)]
* eval.c (run_hook_with_args): Handle the case where the global
value has the obsolete single-function form (Bug#5026).
Eli Zaretskii [Fri, 1 Jan 2010 15:17:13 +0000 (10:17 -0500)]
This commits the exact copies of files I had before switch to bzr.
Eli Zaretskii [Fri, 1 Jan 2010 15:04:53 +0000 (10:04 -0500)]
Retrospective commit from 2009-12-26.
Redesign handle_stop_backwards.
Fix character mirroring for non-ASCII characters.
xdisp.c (handle_stop_backwards): Call compute_stop_pos in the
loop, instead of calling handle_stop. Call handle_stop only once,
after the loop.
(next_element_from_buffer): Don't call handle_stop_backwards if at
stop position. If base_level_stop is zero, set it to 1.
term.c (append_glyph): Fill resolved_level and bidi_type slots
of struct glyph for unidirectional display.
xdisp.c (set_cursor_from_row): Handle zero-width characters.
bidi.c (bidi_mirror_char): More efficient code (suggested by
Ehud Karni <ehud@unix.mvs.co.il>). Don't even try to mirror
non-ASCII characters.
Eli Zaretskii [Fri, 1 Jan 2010 14:57:27 +0000 (09:57 -0500)]
Retrospective commit from 2009-1219.
Fix reordering of Arabic text in etc/HELLO.
Extend .gdbinit commands to support bidirectional display.
buffer.c (Fbuffer_swap_text): Swap the values of
bidi_display_reordering and bidi_paragraph_direction.
bidi.c (bidi_resolve_weak): Fix nesting of conditions for Wn
processing. Move W3 after W1 and W2. Simplify W4 because it is
now always after W1.
.gdbinit (pbiditype): New command.
(pgx): Use it to display bidi level and type of the glyph.
Eli Zaretskii [Fri, 1 Jan 2010 14:46:25 +0000 (09:46 -0500)]
Retrospective commit from 2009-12-12.
Begin working on faces support. First version of handle_stop_backwards.
Rearrange struct bidi_it for more efficient push/pop ops.
dispextern.h (struct it): New members prev_stop and
base_level_stop.
xdisp.c (handle_stop_backwards): New function.
(next_element_from_buffer): Handle the situation where we
overstepped stop_charpos due to non-linearity of the bidi
iteration. Likewise for when we back up beyond the previous
stop_charpos.
(reseat_1, pop_it, push_it): Set prev_stop and base_level_stop.
dispextern.h (BIDI_AT_BASE_LEVEL): New macro.
bidi.c (bidi_copy_it): Fix compiler warning due to cast of a
pointer to `int'. Don't preserve the first_elt member, as it is
no longer copied, because its position in the structure was
changed, see below.
dispextern.h (struct bidi_it): Move first_elt, new_paragraph,
separator_limit, and paragraph_dir to after bidi_stack. Add a
note that anything beyond the level stack is not preserved when
the bidi iterator state is copied/saved.
Eli Zaretskii [Fri, 1 Jan 2010 12:01:23 +0000 (07:01 -0500)]
Retrospective commit from 2009-11-21.
Fix cursor positioning on empty lines with overlays.
xdisp.c (set_cursor_from_row): Fix cursor positioning on empty
lines when integer values of `cursor' property is used on display
strings.
Eli Zaretskii [Fri, 1 Jan 2010 11:57:39 +0000 (06:57 -0500)]
Retrospective commit from 2009-11-14.
Resurrect support for integer values of `cursor' property.
Rename paragraph-direction to bidi-paragraph-direction.
xdisp.c (init_iterator, text_outside_line_unchanged_p)
(try_window_id): Rename paragraph_direction to
bidi_paragraph_direction.
(set_cursor_from_row): Handle integer values of `cursor' property
on display strings.
buffer.c (init_buffer_once, syms_of_buffer): Rename
paragraph_direction to bidi_paragraph_direction.
buffer.h (struct buffer): Rename paragraph_direction to
bidi_paragraph_direction.
Eli Zaretskii [Fri, 1 Jan 2010 11:54:22 +0000 (06:54 -0500)]
Retrospective commit from 2009-11-07.
More fixes for iteration near ZV.
bidi.c (bidi_paragraph_init): Don't overstep end of buffer.
Treat end of buffer as a NEUTRAL_B character.
(bidi_resolve_explicit): Don't special-case ZV when bidi_it->type
is NEUTRAL_B, since bidi_set_paragraph_end no longer sets the
new_paragraph flag.
Eli Zaretskii [Fri, 1 Jan 2010 11:49:38 +0000 (06:49 -0500)]
Retrospective commit from 2009-10-31.
Continue debugging set_cursor_from_row.
Continue debugging display of R2L glyph rows.
xdisp.c (display_line): Always extend reversed_p rows to the end
of line.
(set_cursor_from_row): In R2L rows that don't display text, put
the cursor on the rightmost glyph.
Eli Zaretskii [Fri, 1 Jan 2010 11:45:36 +0000 (06:45 -0500)]
Retrospective commit from 2009-10-24.
Continue working on set_cursor_from_row.
Cleanup of resolved_level and bidi_type members of struct glyph.
xdisp.c (set_cursor_from_row): Fix off-by-one error when
skipping over non-character glyphs at end of a reversed row.
dispextern.h (struct glyph): The `resolved_level' member needs
only 5 bits, not 6. The `bidi_type' member needs only 3 bits.
(bidi_type_t): Rearrange so that types that can appear in the
resolved type are at the beginning and have values less than 8.
bidi.c: Include setjmp.h.
Eli Zaretskii [Fri, 1 Jan 2010 11:39:56 +0000 (06:39 -0500)]
Retrospective commit from 2009-10-17.
Continue working on display of R2L glyph rows. Reverse glyphs in
term.c:append_glyph rather than in extend_face_to_end_of_line.
Fix bidi iteration near BEGV and ZV.
dispextern.h (struct glyph): New members resolved_level and
bidi_type.
xdisp.c (append_glyph, append_composite_glyph)
(produce_image_glyph, append_stretch_glyph): Set them.
term.c (append_glyph): Ditto.
xdisp.c (display_line, next_element_from_buffer): Set the glyph
row's reversed_p flag if the paragraph base direction is odd.
(extend_face_to_end_of_line): Don't reverse the glyphs here.
term.c (append_glyph): Reverse glyphs here.
bidi.c (bidi_get_next_char_visually): Don't exit early when at ZV.
(bidi_paragraph_init): Don't step over a newline if at BEGV.
(bidi_paragraph_init): Handle empty buffers.
Eli Zaretskii [Fri, 1 Jan 2010 11:35:03 +0000 (06:35 -0500)]
Retrospective commit from 2009-10-10.
Continue working on set_cursor_from_row.
Disable redisplay optimizations that interfere with R2L glyph rows.
Misc cleanups in bidi.c.
xdisp.c (set_cursor_from_row): Skip over glyphs near end of row
with integer OBJECT even if their CHARPOS is zero.
bidi.c (bidi_cache_iterator_state): Don't cache NEW_PARAGRAPH.
Abort if someone tries to add a cached state whose position is not
the immediate successor to that of the last cached state.
(bidi_paragraph_init): Don't bail out too early after a reseat.
xdisp.c (text_outside_line_unchanged_p, try_window_id): Disable
optimizations if we are reordering bidirectional text and the
paragraph direction can be affected by the change.
Eli Zaretskii [Fri, 1 Jan 2010 11:27:51 +0000 (06:27 -0500)]
Retrospective commit from 2009-10-08.
Finish up working on paragraph's base direction.
Start working on display of right-to-left glyph rows.
Rewrite set_cursor_from_row to support bidi.
xdisp.c (string_buffer_position_lim): New function.
(string_buffer_position): Most of code moved to
string_buffer_position_lim. Last argument and return value are
now EMACS_INT; all callers changed.
(set_cursor_from_row): Rewritten to support bidirectional text and
reversed glyph rows.
dispextern.h <string_buffer_position>: Update prototype.
bidi.c (bidi_paragraph_init): Fix initialization of POS.
dispextern.h (struct glyph_row): New member reversed_p.
buffer.c (syms_of_buffer): Remove DEFVAR_LISP_NOPRO for
default-direction-reversed, default-bidi-display-reordering, and
default-paragraph-direction.
Eli Zaretskii [Fri, 1 Jan 2010 11:22:52 +0000 (06:22 -0500)]
Retrospective commit from 2009-10-05.
Continue working on paragraph base direction.
Support per-buffer default paragraph direction.
buffer.h (struct buffer): New member paragraph_direction.
buffer.c (init_buffer_once): Initialize it.
(syms_of_buffer): Declare Lisp variables
default-paragraph-direction and paragraph-direction.
dispextern.h (struct it): New member paragraph_embedding.
xdisp.c (init_iterator): Initialize it from the buffer's value
of paragraph-direction.
<Qright_to_left, Qleft_to_right>: New variables.
(syms_of_xdisp): Initialize and staticpro them.
(set_iterator_to_next, next_element_from_buffer): Use the value of
paragraph_embedding to determine the paragraph direction.
bidi.c (bidi_line_init): Fix second argument to
bidi_set_sor_type.
(bidi_init_it): Initialize paragraph_dir to NEUTRAL_DIR.
(bidi_get_next_char_visually): Record the last character of the
separator in separator_limit, not the character after that.
(bidi_find_paragraph_start): Accept character and byte positions
instead of the whole iterator stricture. All callers changed.
Eli Zaretskii [Fri, 1 Jan 2010 11:17:13 +0000 (06:17 -0500)]
Retrospective commit from 2009-10-04.
Continue working on determining paragraph's base direction.
bidi.c (bidi_at_paragraph_end): Check for paragraph-start if
paragraph-separate failed to match. Return the length of the
matched separator.
(bidi_line_init): New function.
(bidi_paragraph_init): Use bidi_line_init. Do nothing if in the
middle of a paragraph-separate sequence. Don't override existing
paragraph direction if no strong characters found in this
paragraph. Set separator_limit according to what
bidi_at_paragraph_end returns. Reset new_paragraph flag when a
new paragraph is found.
(bidi_init_it): Reset separator_limit.
dispextern.h (struct bidi_it): New member separator_limit.
bidi.c (bidi_find_paragraph_start): Return the byte position of
the paragraph beginning.
xdisp.c (set_iterator_to_next): Call bidi_paragraph_init if the
new_paragraph flag is set in the bidi iterator.
bidi.c (bidi_at_paragraph_end, bidi_find_paragraph_start): Use
the buffer-local value of paragraph-start and paragraph-separate.
Eli Zaretskii [Fri, 1 Jan 2010 11:06:48 +0000 (06:06 -0500)]
Retrospective commit from 2009-10-03.
Detect paragraph start and paragraph separators (part of determining
paragraph base direction).
(The commit of window.h belongs to the original changes by Kenichi Handa,
it was forgotten earlier.)
bidi.c (bidi_set_paragraph_end): Don't set the new_paragraph
flag in the iterator.
(bidi_init_it): Set the new_paragraph flag.
(bidi_at_paragraph_end): Arguments are now character and byte
position of the next character. All callers changed.
(bidi_resolve_explicit): Don't call bidi_at_paragraph_end, and
don't behave as if at paragraph end if it returns true.
(bidi_get_next_char_visually): Don't call bidi_paragraph_init if
new_paragraph flag is set. Set new_paragraph flag when at end of
a paragraph.
<fallback_paragraph_start_re, fallback_paragraph_separate_re>: New
variables.
<Qparagraph_start, Qparagraph_separate>: New variables.
(bidi_initialize): Initialize and staticpro them.
dispextern.h <struct bidi_it>: New element paragraph_dir. Make
positional elements EMACS_INT.
bidi.c <bidi_overriding_paragraph_direction>: Delete.
Eli Zaretskii [Fri, 1 Jan 2010 11:01:34 +0000 (06:01 -0500)]
Retrospective commit from 2009-09-27.
Support character mirroring.
Support iteration that starts in the middle of a line.
Misc cleanups.
xdisp.c (next_element_from_buffer): If called not at line
beginning, start bidi iteration from line beginning.
bidi.c (bidi_paragraph_init): Use
bidi_overriding_paragraph_direction instead of a literal zero.
(bidi_initialize): Fix some character types, per Unicode 5.x.
(bidi_get_type): Abort if called with invalid character code.
dispextern.h: Add prototype of bidi_mirror_char.
xdisp.c (get_next_display_element): Mirror characters whose
resolved type is STRONG_R.
Eli Zaretskii [Fri, 1 Jan 2010 10:57:17 +0000 (05:57 -0500)]
Retrospective commit from 2009-09-26.
Continued working on initialization.
Started working on paragraph direction initialization.
bidi.c (bidi_paragraph_init): Don't set bidi_it->ch_len. Abort
if called not at beginning of a new paragraph.
(bidi_get_next_char_visually): Prepare and use a sentinel iterator
state when first_elt flag is set.
dispextern.h (struct bidi_it): New struct member first_elt.
bidi.c (bidi_init_it): Initialize bidi_it->first_elt.
(bidi_copy_it): Don't copy the first_elt flag.
xdisp.c (reseat_1): Initialize bidi_it.first_elt. Move bidi
scan start code from here...
(next_element_from_buffer): ...to here. Use bidi_it.first_elt flag.
Eli Zaretskii [Thu, 31 Dec 2009 21:31:54 +0000 (16:31 -0500)]
Retrospective commit from 2009-09-20.
Handle positions at BEGV and ZV. Mor initialization cleanups.
xdisp.c (reseat_1): Handle position < BEGV.
bidi.c (bidi_paragraph_init): Set bidi_it->ch_len. Handle ZV.
(bidi_init_it): Don't initialize bidi_it->ch_len.
(bidi_resolve_explicit_1): Abort if bidi_it->ch_len was not
initialized.
(bidi_at_paragraph_end, bidi_resolve_explicit_1)
(bidi_resolve_weak, bidi_level_of_next_char): Handle bytepos at
ZV_BYTE.
(bidi_resolve_explicit_1): Handle position < BEGV.
Eli Zaretskii [Thu, 31 Dec 2009 21:20:15 +0000 (16:20 -0500)]
Retrospective commit from 2009-09-19.
Begin work on bidi initialization and other cleanup.
Remove all STANDALONE code from bidi.c.
xdisp.c (init_iterator): Call bidi_init_it. Set
bidi_it->bytepos if buffer position specified.
(reseat_1): Don't call bidi_init_it. Call bidi_paragraph_init
instead. Move back to preceding character before the call to
bidi_get_next_char_visually.
bidi.c: Remove all STANDALONE parts.
(bidi_init_it): Init bidi_it->charpos and bidi_it->bytepos to -1.
Don't call bidi_paragraph_init. Change arguments.
(bidi_paragraph_init): Remove code for negative pos.
dispextern.h <bidi_it>: Rename orig_type to type_after_w1 and
pristine_type to orig_type.
Eli Zaretskii [Thu, 31 Dec 2009 21:14:26 +0000 (16:14 -0500)]
Retrospective commit from 2009-09-12.
Undo changes from 2009-09-11. Set row->end and row->start in
xdisp.c:display_line.
dispnew.c (direct_output_for_insert): Give up if we are
reordering bidirectional text.
dispextern.h (IT_STACK_SIZE): Enlarge to 5.
xdisp.c (display_line): Set row->end and it->start for the next
row to the next character in logical order. If we are reordering
bidi text, push and pop the iterator before and after momentarily
iterating in logical order.
Eli Zaretskii [Thu, 31 Dec 2009 21:09:28 +0000 (16:09 -0500)]
Retrospective commit from 2009-08-12.
An (unsuccessful) attempt to solve the issue with row->start and row->end.
xdisp.c (set_iterator_to_next, reseat, reseat_1)
(reseat_at_next_visible_line_start): Accept additional argument
force_logical_p; all callers changed. If force_logical_p is
non-zero, force iteration in buffer's logical order even in bidi
buffers.
dispnew.c (direct_output_for_insert): Call set_iterator_to_next
with additional argument zero.
dispextern.h (set_iterator_to_next): Now accepts an additional
argument.
Eli Zaretskii [Thu, 31 Dec 2009 20:56:07 +0000 (15:56 -0500)]
Retrospective commit from 2009-08-29.
Started working on cursor motion.
xdisp.c (set_cursor_from_row): Don't assume glyph->charpos
increments linearly.
(try_window_reusing_current_matrix): Don't assume glyph->charpos
increments linearly.
bidi.c <bidi_overriding_paragraph_direction>: Default to L2R, for now.
Eli Zaretskii [Thu, 31 Dec 2009 20:49:08 +0000 (15:49 -0500)]
Retrospective commit from 2009-08-22.
Staticpro bidi_char_table, add type checking where bidi type is assigned.
bidi.c (bidi_initialize): staticpro bidi_char_table.
(bidi_check_type): New function.
(bidi_cache_iterator_state, bidi_remember_char)
(bidi_resolve_explicit_1, bidi_resolve_explicit)
(bidi_resolve_weak, bidi_resolve_neutral)
(bidi_level_of_next_char): Use it to validate the bidi type
assigned to the iterator.
Eli Zaretskii [Thu, 31 Dec 2009 20:04:11 +0000 (15:04 -0500)]
Retrospective commit from 2009-08-15.
Start of work on bidi Emacs 23/24.
bidi.c (bidi_initialize): Fix initialization of bidi_type_table.
xdisp.c (set_iterator_to_next): Fix position setting after call
to bidi_get_next_char_visually.
bidi.c: Include stdio.h unconditionally. Fix and elaborate
commentary. Add Copyright blurb.
Eli Zaretskii [Thu, 31 Dec 2009 19:44:59 +0000 (14:44 -0500)]
Retrospective commit.
These are the original changes made by Kenichi Handa on the old
pre Emacs 22 emacs-bidi branch.
Chong Yidong [Thu, 31 Dec 2009 02:14:46 +0000 (21:14 -0500)]
Bump version to 23.1.91. Regenerate AUTHORS and ldefs-boot.el.
Nick Roberts [Wed, 30 Dec 2009 13:19:53 +0000 (02:19 +1300)]
Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
* term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
* progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
Chong Yidong [Wed, 30 Dec 2009 10:39:47 +0000 (05:39 -0500)]
* doc/emacs/building.texi: Re-apply 2009-12-29T07:15:34Z!nickrob@snap.net.nz, which was
accidentally overwritten in the last change.
Nick Roberts [Wed, 30 Dec 2009 06:53:47 +0000 (19:53 +1300)]
(vc-hg-working-revision): Tweak previous change.
Nick Roberts [Wed, 30 Dec 2009 02:22:45 +0000 (15:22 +1300)]
Show working revision correctly for mercurial.
* vc-hg.el (vc-hg-working-revision): Use hg parent instead of
hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>,
Juanma Barranquero [Tue, 29 Dec 2009 18:29:33 +0000 (19:29 +0100)]
Fix typos in ChangeLogs.
Chong Yidong [Tue, 29 Dec 2009 18:06:16 +0000 (13:06 -0500)]
* doc/emacs/misc.texi (Shell): Document async-shell-command.
* doc/emacs/building.texi (Grep Searching): Document zrgrep.
* doc/emacs/mini.texi (Completion Options):
* doc/lispref/minibuf.texi (Completion Styles): Document `initials' style.
Juanma Barranquero [Tue, 29 Dec 2009 17:44:27 +0000 (18:44 +0100)]
Declare some functions for the byte-compiler.
Nick Roberts [Tue, 29 Dec 2009 07:15:34 +0000 (20:15 +1300)]
This changeset reverts GDB Graphical Interface to use annotations. It incorporates features added
(and never released) on the EMACS_23_1_RC branch. Namely reverse debugging and the display of STL
collections as watch expressions.
The long term aim is to move to GDB/MI, so these changes will be re-instated at some time in the future.
At the moment, however, there are issues with gdb-mi.el that have not yet
Dan Nicolaescu [Tue, 29 Dec 2009 06:46:08 +0000 (22:46 -0800)]
Make vc-dir work on subdirectories of the bzr root.
* vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
file names relative to it.
(vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
relative directory to vc-bzr-after-dir-status.
Juanma Barranquero [Tue, 29 Dec 2009 01:57:40 +0000 (02:57 +0100)]
Fix typos in ChangeLogs.
Juanma Barranquero [Tue, 29 Dec 2009 00:51:07 +0000 (01:51 +0100)]
process.c: Fix typo in comment.
Tassilo Horn [Mon, 28 Dec 2009 19:34:10 +0000 (20:34 +0100)]
* font-lock.el (font-lock-refresh-defaults): New function, which
can be used to let font-lock react to external changes in
variables like font-lock-defaults and keywords.
See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
Dan Nicolaescu [Mon, 28 Dec 2009 19:20:02 +0000 (11:20 -0800)]
* vc-rcs.el (vc-rcs-register): Fix registering a specific version.
Dan Nicolaescu [Mon, 28 Dec 2009 18:34:51 +0000 (10:34 -0800)]
(vc-bzr-log-view-mode): Fix short log regexp.
Juanma Barranquero [Mon, 28 Dec 2009 15:24:26 +0000 (16:24 +0100)]
INSTALL: Remove obsolete notes about line endings, and fix some typos.
Andreas Schwab [Mon, 28 Dec 2009 09:38:43 +0000 (10:38 +0100)]
Fix bazaar update instructions
Kenichi Handa [Mon, 28 Dec 2009 07:29:24 +0000 (16:29 +0900)]
Add new entries to ChangeLog
Kenichi Handa [Mon, 28 Dec 2009 06:09:58 +0000 (15:09 +0900)]
*** empty log message ***
Juanma Barranquero [Mon, 28 Dec 2009 02:43:28 +0000 (03:43 +0100)]
Supersede color.diff settings in git log (bug#5211).
Juanma Barranquero [Mon, 28 Dec 2009 01:50:49 +0000 (02:50 +0100)]
Update autoload checksum.
Karl Fogel [Sun, 27 Dec 2009 23:40:41 +0000 (18:40 -0500)]
Merge: update nt/INSTALL for CVS->Bazaar switchover too.
Karl Fogel [Sun, 27 Dec 2009 23:40:01 +0000 (18:40 -0500)]
* INSTALL: Update for CVS->Bazaar switchover.
Karl Fogel [Sun, 27 Dec 2009 22:28:35 +0000 (17:28 -0500)]
Merge: document that we are on Bazaar now.
Karl Fogel [Sun, 27 Dec 2009 22:26:27 +0000 (17:26 -0500)]
* INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
* INSTALL, autogen.sh, configure.in, configure: Adjust accordingly.
Chong Yidong [Sun, 27 Dec 2009 08:11:12 +0000 (08:11 +0000)]
* minibuf.c (Fall_completions): Minor optimization.
Kevin Ryde [Sat, 26 Dec 2009 22:02:26 +0000 (22:02 +0000)]
* man.el
(Man-bgproc-sentinel): When "-k foo" produces no output show error
"no matches" rather than "Can't find manpage", as the latter reads
like -k was interpreted as a page name, which is not so. (My
bug#5431.)
Kevin Ryde [Sat, 26 Dec 2009 22:00:47 +0000 (22:00 +0000)]
(Man-bgproc-sentinel): When "-k foo" produces no output show error
"no matches" rather than "Can't find manpage", as the latter reads
like -k was interpreted as a page name, which is not so. (My
bug#5431.)
Kevin Ryde [Sat, 26 Dec 2009 21:32:51 +0000 (21:32 +0000)]
Tweak a comment: it's man-db on gnu/linux which agrees with posix that
man -k arg is an egrep regexp.
(No need to changelog something this small is there?)
Kevin Ryde [Sat, 26 Dec 2009 21:30:00 +0000 (21:30 +0000)]
* man.el (man): Revise docstring a bit to show -a and -l as
examples. Add -k description since support for it has otherwise
been a secret. (Further to bug#3717.)
Kevin Ryde [Sat, 26 Dec 2009 21:14:25 +0000 (21:14 +0000)]
* info-look.el (sh-mode): Look for coreutils new "Concept Index"
node. Keep previous "Index" name to work with past coreutils too.
Michael Albinus [Sat, 26 Dec 2009 20:04:43 +0000 (20:04 +0000)]
* net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
switches. Check also for //SUBDIRED// line.
Eli Zaretskii [Sat, 26 Dec 2009 15:56:43 +0000 (15:56 +0000)]
(pitx) Fix last change.
Eli Zaretskii [Sat, 26 Dec 2009 12:53:42 +0000 (12:53 +0000)]
(pgx): Fix display of composite glyphs. Display cmp.from and cmp.to as well.
Chong Yidong [Fri, 25 Dec 2009 20:05:14 +0000 (20:05 +0000)]
* calc.texi (General Mode Commands): Calc file should be in .emacs.d.
* faq.texi (New in Emacs 22): Max buffer size is now 512 MB.
Chong Yidong [Fri, 25 Dec 2009 20:04:07 +0000 (20:04 +0000)]
* frames.texi (Resources): Describe inhibit-x-resources.
(Size Parameters): Copyedit.
* hash.texi (Creating Hash):
* objects.texi (Hash Table Type): Document the new hash table
printed representation.
* minibuf.texi (Basic Completion): 4th arg to all-completions is
obsolete.
* processes.texi (Process Buffers): Document
process-kill-buffer-query-function.
Chong Yidong [Fri, 25 Dec 2009 20:00:32 +0000 (20:00 +0000)]
* emacs.texi (Top): Update node listing.
* abbrevs.texi (Saving Abbrevs): Abbrev file should be in .emacs.d.
* basic.texi (Moving Point): M-r is now move-to-window-line-top-bottom.
* cmdargs.texi (Initial Options):
* xresources.texi (Resources): Document inhibit-x-resources.
* custom.texi (Specifying File Variables): Note that minor modes are
enabled unconditionally.
* display.texi (Scrolling): Briefly document the old recenter command,
and document recenter-positions.
* files.texi (Visiting):
* buffers.texi (Buffers): Max buffer size is now 512 MB.
* frames.texi (Cut/Paste Other App): Document
save-interprogram-paste-before-kill.
* killing.texi (Kill Options): New node.
Kenichi Handa [Fri, 25 Dec 2009 05:27:03 +0000 (05:27 +0000)]
(command_loop_1): Fix previous change.
Kenichi Handa [Fri, 25 Dec 2009 02:45:47 +0000 (02:45 +0000)]
(devanagari-composable-pattern): Fixed to
handle ZWNJ and ZWJ. Use it in composition-function-table for
Devanagari.
(malayalam-composable-pattern): Fix previous change.
Kenichi Handa [Fri, 25 Dec 2009 02:44:13 +0000 (02:44 +0000)]
(composition_adjust_point): Update prototype.
Kenichi Handa [Fri, 25 Dec 2009 02:43:36 +0000 (02:43 +0000)]
(composition_reseat_it): Don't make a composition
spanning over point.
(CHAR_COMPOSABLE_P): Treat U+200C (ZWNJ) and U+200D (ZWJ) as
composable characters.
(composition_adjust_point): New arg NEW_PT. Callers changed.
Kenichi Handa [Fri, 25 Dec 2009 02:41:59 +0000 (02:41 +0000)]
(command_loop_1): Force redisplay if the last point
was within a composition.
(adjust_point_for_property): Don't adjust point for automatic
composition when called after buffer modification.
Stefan Monnier [Thu, 24 Dec 2009 04:35:17 +0000 (04:35 +0000)]
(Fsave_excursion): Mention save-current-buffer in the docstring.
Vinicius Jose Latorre [Wed, 23 Dec 2009 22:45:06 +0000 (22:45 +0000)]
Attribute face for faces specified as string.
Glenn Morris [Wed, 23 Dec 2009 01:02:55 +0000 (01:02 +0000)]
Comment on out-of-sequence messages.
Glenn Morris [Tue, 22 Dec 2009 08:07:47 +0000 (08:07 +0000)]
Add some notes on the debbugs.gnu.org setup.
Glenn Morris [Sat, 19 Dec 2009 20:32:11 +0000 (20:32 +0000)]
Update some addresses for debbugs.gnu.org.
Eli Zaretskii [Sat, 19 Dec 2009 14:16:47 +0000 (14:16 +0000)]
(pitx): Don't use enum names, use their values. Remove reference to
non-existing value GET_FROM_COMPOSITION.
(pgx): Don't use enum names, use their values.
(pitmethod): New helper command.
(pitx): Use it to display iteration method.
(pgrowit): New command.
Eli Zaretskii [Sat, 19 Dec 2009 11:58:11 +0000 (11:58 +0000)]
($(BLD)/cmds.$(O)): Depend on frame.h.
Eli Zaretskii [Sat, 19 Dec 2009 11:27:49 +0000 (11:27 +0000)]
(alloc.o): Fix last change.
Eli Zaretskii [Sat, 19 Dec 2009 11:25:34 +0000 (11:25 +0000)]
Update dependencies in Makefile.in.
(alloc.o): Depend on termhooks.h.
(atimer.o): Depend on blockinput.h.
(buffer.o): Depend on indent.h, keyboard.h, coding.h, keymap.h, and frame.h.
(callint.o): Depend on systime.h, coding.h, and composite.h.
(callproc.o): Depend on buffer.h.
(casefiddle.o): Don't depend on charset.h.
(casetab.o): Depend on character.h.
(ccl.o): Depend on composite.h.
(chartab.o): Depend on ccl.h.
(cm.o): Depend on dispextern.h.
(cmds.o): Depend on systime.h, coding.h, frame.h, and composite.h.
(coding.o): Don't depend on $(INTERVALS_H).
(composite.o): Don't depend on dispextern.h explicitly (it's in
$(INTERVALS_H)). Depend on ccl.h.
(data.o): Depend on systime.h, coding.h, composite.h, dispextern.h, font.h,
and ccl.h.
(dired.o): Depend on composite.h.
(dispnew.o): Depend on coding.h. Don't depend explicitly on
composite.h (it's in $(INTERVALS_H)).
(doc.o): Depend on systime.h, coding.h, and composite.h.
(editfns.o): Don't depend explicitly on dispextern.h.
(emacs.o): Depend on frame.h and coding.h.
(eval.o): Depend on coding.h, composite.h, and xterm.h.
(fileio.o): Depend on frame.h and commands.h. Don't depend
explicitly on dispextern.h.
(filelock.o): Don't depend on epaths.h and charset.h. Depend on composite.h.
(fns.o): Don't depend on termhooks.h.
(font.o): Depend on buffer.h, composite.h, fontset.h, and xterm.h.
(fontset.o): Depend on blockinput.h, atimer.h, systime.h, coding.h,
$(INTERVALS_H), window.h, xterm.h.
(frame.o): Depend on coding.h, composite.h, termhooks.h, and ccl.h.
(fringe.o): Depend on blockinput.h, atimer.h, and systime.h.
(ftfont.o): Depend on blockinput.h, atimer.h, systime.h, coding.h,
fontset.h, ccl.h, and ftfont.h.
(ftxfont.o): Depend on atimer.h, systime.h, fontset.h, and ccl.h.
(gtkutil.o): Depend on dispextern.h and composite.h.
(image.o): Depend on epaths.h, character.h, coding.h, composite.h,
termhooks.h, and ccl.h.
(indent.o): Depend on systime.h, coding.h, and $(INTERVALS_H).
(intervals.o): Depend on systime.h and coding.h.
(keyboard.o): Depend on composite.h and coding.h.
(keymap.o): Depend on coding.h and frame.h.
(lread.o): Depend on systime.h, frame.h, blockinput.h, and atimer.h.
(macros.o): Depend on systime.h, coding.h, and composite.h.
(menu.o): Depend on systime.h, coding.h, composite.h, window.h, and atimer.h.
(minibuf.o): Depend on systime.h and coding.h. Don't depend on
dispextern.h explicitly.
(print.o): Depend on termhooks.h, coding.h, and ccl.h. Don't
depend explicitly on dispextern.h and composite.h.
(process.o): Depend on character.h, xgselect.h, and sysselect.h.
(regex.o): Don't depend on charset.h.
(scroll.o): Depend on systime.h, coding.h, composite.h, and window.h.
(search.o): Don't depend explicitly on composite.h.
(sound.o): Depend on atimer.h and systime.h.
(syntax.o): Don't depend explicitly on composite.h.
(sysdep.o): Depend on coding.h and composite.h.
(term.o): Depend on xterm.h and buffer.h.
(terminal.o): Depend on dispextern.h, composite.h, and systime.h.
(textprop.o): Don't depend on dispextern.h explicitly.
(undo.o): Depend on dispextern.h.
(window.o): Depend on coding.h and termhooks.h. Don't depend on
dispextern.h and composite.h explicitly.
(xdisp.o): Depend on ccl.h.
(xfaces.o): Depend on coding.h and ccl.h.
(xfns.o): Depend on $(INTERVALS_H) and ccl.h.
(xfont.o): Depend on atimer.h, systime.h, fontset.h, and ccl.h.
(xftfont.o): Depend on atimer.h, systime.h, fontset.h, ccl.h, and ftfont.h.
(xgselect.o): New dependency.
(xmenu.o): Depend on composite.h, keymap.h, and sysselect.h.
(xselect.o): Depend on keyboard.h, coding.h, and composite.h.
(xsettings.o): Depend on dispextern.h, keyboard.h, systime.h,
coding.h, composite.h, blockinput.h, atimer.h, and termopts.h.
(xsmfns.o): Depend on frame.h and dispextern.h.
(xterm.o): Depend on intervals.h, keymap.h, xgselect.h, and sysselect.h.
Andreas Schwab [Sat, 19 Dec 2009 09:57:22 +0000 (09:57 +0000)]
(Fclear_font_cache): Pass correct cache argument to
font_clear_cache.
Ulf Jasper [Fri, 18 Dec 2009 19:35:14 +0000 (19:35 +0000)]
Fixed timezone handling problem in icalendar.el.
Katsumi Yamaoka [Fri, 18 Dec 2009 04:29:17 +0000 (04:29 +0000)]
(Direct Functions): Add missing port number to tls method.